<?php

namespace common\enum;


class ActiveEnum
{
    // ==================== 模板活动类型 ====================
    const ACTIVE_EVERY_DAY_SIGN = 1;                                   // 'name' => '每日签到',
    const ACTIVE_MAILBOX_VERIFICATION = 2;                             // 'name' => '验证邮箱',
    const ACTIVE_PHONE_VERIFICATION = 3;                               // 'name' => '手机验证',
    const ACTIVE_EVERY_DAY_LOTTERY = 4;                                // 'name' => '每日抽奖',幸运大抽奖
    const ACTIVE_RESCUE_PRIZE = 5;                                     // 'name' => '救援金',输钱送活动
    const ACTIVE_PLATFORM_PRIZE = 6;                                   // 'name' => '擂台奖',赛事型优惠活动
    const ACTIVE_PRIZE_ON_PRIZE = 7;                                   // 'name' => '奖上奖',中奖再加奖活动
    const ACTIVE_CONTINUOUS_PASS = 8;                                  // 'name' => '连续闯关',连续过关奖励活动
    const ACTIVE_RECHARGE_OFFER = 9;                                   // 'name' => '充值优惠',
    const ACTIVE_REGISTERED_OFFER = 10;                                // 'name' => '注册优惠',
    const ACTIVE_REBET = 11;                                            // 'name' => '返回活动',

    // ==================== 模板活动类型 对应的活动名称  ====================
    static $activeTemplate = [
        self::ACTIVE_EVERY_DAY_SIGN => ["name" => "每日签到", "description" => "每日签到优惠活动模板"],
        self::ACTIVE_MAILBOX_VERIFICATION => ["name" => "验证邮箱", "description" => "验证邮箱"],
        self::ACTIVE_PHONE_VERIFICATION => ["name" => "手机验证", "description" => "手机验证"],
        self::ACTIVE_EVERY_DAY_LOTTERY => ["name" => "每日抽奖", "description" => "幸运大抽奖"],
        self::ACTIVE_RESCUE_PRIZE => ["name" => "救援金", "description" => "输钱送活动"],
        self::ACTIVE_PLATFORM_PRIZE => ["name" => "擂台奖", "description" => "赛事型优惠活动"],
        self::ACTIVE_PRIZE_ON_PRIZE => ["name" => "奖上奖", "description" => "中奖再加奖活动"],
        self::ACTIVE_CONTINUOUS_PASS => ["name" => "连续闯关", "description" => "连续过关奖励活动"],
        self::ACTIVE_RECHARGE_OFFER => ["name" => "充值优惠", "description" => "充值优惠"],
        self::ACTIVE_REGISTERED_OFFER => ["name" => "注册优惠", "description" => "注册优惠"],
        self::ACTIVE_REBET => ["name" => "返回活动", "description" => "返回活动"]
    ];

    const STATUS_OPEN = 1;//活动状态-开启
    const STATUS_STOP = 0;//活动状态-关闭

    const WITHDRAW_REQUIRE_TYPE_NONE = 0;  //提款要求 无
    const WITHDRAW_REQUIRE_TYPE_MULTI = 1; //提款要求 优惠金额的倍数
    const WITHDRAW_REQUIRE_TYPE_AMOUNT = 2;//提款要求 有效投注金额
}


